package com.common.orm;


import java.util.HashMap;

/**
 * @author Dmitry Savchenko
 */
class ClassData {

    private Class clazz;
    private String tableName;
    private MethodColumnPair primaryKey;
    private MethodColumnPair[] columns;
    private HashMap<String, MethodColumnPair> columnsMap;

    public Class getClazz() {
        return clazz;
    }

    public void setClazz(Class clazz) {
        this.clazz = clazz;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public MethodColumnPair[] getColumns() {
        return columns;
    }

    public void setColumns(MethodColumnPair[] columns) {
        this.columns = columns;
    }

    public HashMap<String, MethodColumnPair> getColumnsMap() {
        return columnsMap;
    }

    public void setColumnsMap(HashMap<String, MethodColumnPair> columnsMap) {
        this.columnsMap = columnsMap;
    }

    public MethodColumnPair getPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey(MethodColumnPair primaryKey) {
        this.primaryKey = primaryKey;
    }
}
